<!DOCTYPE html>
<html>
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
	<meta name="format-detection" content="telephone=no, email=no"/>
	<meta charset="UTF-8">
	<title>订单详情</title>
	<link rel="stylesheet" href="themes/css/core.css">
	<link rel="stylesheet" href="themes/css/icon.css">
	<link rel="stylesheet" href="themes/css/home.css">
	<link rel="icon" type="image/x-icon" href="favicon.ico">
	<link href="iTunesArtwork@2x.png" sizes="114x114" rel="apple-touch-icon-precomposed">
	<style>
		.aui-card-box-user{
			/*margin-right:0;*/
			/*width: 1.8rem;*/ 
		}
		.aui-card-box-user img{
			/*width: 60%;*/
			/*display:inline;*/
		}
		.tab-panel .tab-panel-item{padding: 0;}
		.aui-list-product-fl-item{
			padding: 7px 10px;
			background-color: #f8f8f8;
			/*background-color: white;*/
		}
		.aui-list-product-fl-text{
			background-color: initial;
		}
		.aui-list-buy-info{
			text-align: right;
			border-bottom: 1px solid #dedcdc;
			height: 46px;
			line-height: 46px;
			padding: 0 10px;
		}
		.aui-list-buy-info p,.aui-list-buy-info h1{
			display: inline;
		}
		.aui-list-buy-info h1{
			font-size: 14px;
		}
		
		/*订单信息*/
		.order_info{
			padding: 10px;
		}
		.order_info p{
			line-height: 25px;
			font-size: 14px;
			color: #999;
		}
		/*底部金额合计样式*/
		.foot-price{
			line-height: 47px;
		}
		.foot-price span{
			font-size: 16px;
			color: #FF5E53;
		}
		/******************/
		.pull-left{
			float: left;
		}
		.pull-right{
			float: right;
		}
		/*.wait_banner{
			position: relative;
		}
		.wait_banner p{
			width: 7.4rem;
			font-size: 14px;
			position: absolute;
			top: 3.4rem;
			left: 3rem;
			color: white;
		}*/
		.fot-heigh{
			width: 100%;
			height: 55px;
		}
	</style>
</head>
<body>

	<header class="aui-header-default aui-header-fixed aui-header-bg">
		<a href="javascript:history.back(-1)" class="aui-header-item">
			<i class="aui-icon aui-icon-back-white"></i>
		</a>
		<div class="aui-header-center aui-header-center-clear">
			<div class="aui-header-center-logo">
				<div class="aui-car-white-Typeface">订单详情</div>
			</div>
		</div>
		<a href="#" class="aui-header-item-icon"   style="min-width:0">
		</a>
	</header>

	<section class="aui-myOrder-content">
	<script  type="text/html" id="detailTmpl">
		<!--<div class="wait_banner">
			<img src="themes/img/bg/wait_pay.png" width="100%"/>
			<p>剩余08时35分25秒交易关闭</p>
		</div>-->
		<!--<div class="aui-dri"></div>
		<div class="order_info">
			<p>
				家长： {{userName}}
				<span class="pull-right">13720353458</span>
			</p>
			<p>孩子：Gloriason <span class="pull-right">13720545796</span></p>
		</div>-->
		<!--<div class="aui-dri"></div>-->
		<div class="aui-list-title-info">		
			<div class="aui-card-box clearfix">
				<div class="aui-card-box-user">
					<img src="themes/img/icon/kwfd.png" alt="">
				</div>
				<div class="aui-card-box-name">
					<h2 class="aui-card-box-name">龟兔双师教育</h2>
					<!--<p>待付款</p>-->
				</div>
				<div class="aui-card-box-time">{{orderDate}}</div>
			</div>
			{{each orderItems}}
			<a href="javascript:;" class="aui-list-product-fl-item">
				<div class="aui-list-product-fl-img">
					<img src="{{$value.picture1 | pictureFormat}}" />
				</div>
				<div class="aui-list-product-fl-text">
					<h3 class="aui-list-product-fl-title">{{$value.courseName}}</h3>
					<div class="aui-list-product-fl-mes">
						<div>
							<span class="aui-list-product-item-price">
								<em>¥</em>
								{{$value.courseAmount | coursePriceFormat}}
							</span>
							<!--<span class="aui-list-product-item-del-price">
								¥495.65
							</span>-->
						</div>
						<div class="aui-btn-purchase">
							课时：{{$value.purchaseTimes}}
						</div>
					</div>
				</div>
			</a>
			{{/each}}
			
		</div>
		<div class="aui-list-buy-info">
			<p>共计{{orderItems.length}}门课程 </p> &nbsp; <h1>实付款：￥{{actualOrderAmount | coursePriceFormat}}</h1>
		</div>
		<div class="aui-dri"></div>
		<div class="order_info">
			<p>订单编号：{{orderNum}}</p>
			<p>创建时间：{{orderDate}}</p>
			<p>优惠价格：<em>¥</em> {{discountAmount | coursePriceFormat}}</p>
		</div>
		
		<div class="fot-heigh"></div>
		
	</section>

	{{if orderState == 1}}
	<footer class="aui-footer-product">
		<div class="aui-footer-product-fixed">
			<div class="aui-footer-product-concern-cart foot-price">
			金额：<span>￥ {{actualOrderAmount | coursePriceFormat}}</span>
			</div>
			<div class="aui-footer-product-action-list">				
				<a href="javascript:product.wecatPay(' {{id}}');" class="red-color" style="width: 100%;">支付</a>
			</div>
		</div>
	</footer>
	{{/if}}
	</script>
	<script type="text/javascript" src="themes/js/jquery.min.js"></script>
	<script type="text/javascript" src="themes/js/aui.js"></script>
	
	<script type="text/javascript" src="themes/js/ajax-util.js"></script>		
	<script type="text/javascript" src="themes/js/Feng.js"></script>	
	<script type="text/javascript" src="themes/plugin/numeral/numeral.min.js"></script>	
	<script type="text/javascript" src="themes/plugin/artTemplate/template.js"></script>	
	<script type="text/javascript" src="themes/plugin/layer/layer.js"></script>	
	<script src="themes/js/common.js"></script>
	<script src='http://res.wx.qq.com/open/js/jweixin-1.2.0.js'></script>
	<script src="static/product/product_order_nopay.js"></script>
	

</body>
</html>